package com.jspgou.cms.manager;

import java.util.List;
import com.jspgou.cms.entity.Adspace;
import com.jspgou.common.page.Pagination;

public interface AdspaceMng {
	public Adspace findById(Long id);

	public Adspace save(Adspace bean);

	public Adspace update(Adspace bean);

	public Adspace deleteById(Long id);
	
	public Adspace updateByAdspacenumb(Long AdspaceId,Integer AdspaceNumb,Integer shopMemberId);
	
	public Adspace[] deleteByIds(Long[] ids);
	
	public List<Adspace> getList();
	
	public List<Adspace> getListByStoreId(Long storeId,Boolean enabled);
	
	public Pagination getPagination(Long storeId,int pageNo, int pageSize);
}